package com.example.blog.modules.monitor.dto;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class MetricsHistoryDTO {
    private LocalDateTime timestamp;
    
    // CPU指标
    private Double systemCpuUsage;
    private Double processCpuUsage;
    
    // 内存指标
    private Long heapMemoryUsed;
    private Long nonHeapMemoryUsed;
    private Long totalMemory;
    private Long freeMemory;
    
    // JVM指标
    private Integer threadCount;
    private Long youngGcCount;
    private Long oldGcCount;
    private Long youngGcTime;
    private Long oldGcTime;
    
    // 应用指标
    private Long onlineUserCount;
    private Long requestCount;
    private Double averageResponseTime;
} 